package cn.duhengkui.national.valuelist.core.data.util;

import cn.duhengkui.national.valuelist.core.entity.BaseEntity;

public class DaoEntityThreadLocal {
	
private static ThreadLocal<Class<? extends BaseEntity>> daoEntityThreadLocal = new ThreadLocal<>();
	
	public static void set(Class<? extends BaseEntity> entity) {
		daoEntityThreadLocal.set(entity);
	}
	
	public static Class<? extends BaseEntity> get() {
		return daoEntityThreadLocal.get();
	}

}
